#include "formenvir.h"
#include "ui_formenvir.h"

FormEnvir::FormEnvir(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::FormEnvir)
{
    ui->setupUi(this);
}

FormEnvir::~FormEnvir()
{
    delete ui;
}

void FormEnvir::set_environment(QString sunrise, QString sunset, QString air_level, QString win_speed)
{
    ui->sunrise->setText(sunrise);
    ui->sunset->setText(sunset);
    ui->air_level->setText(air_level);
    ui->air_tips->setText(win_speed);
}
